package face.pay.dao;

import face.pay.entity.OemInfo;
import face.pay.util.ResultMessage;
import face.pay.vo.OemUserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Auther: zkj
 * @Date: 2019/7/3 16:33
 * @Description:
 */
@Mapper
public interface OemInfoDao  {

    void insert(OemInfo oemUserInfo);

    void update(OemInfo oemInfo);

    OemInfo getOemInfo(OemInfo oemInfo);

    OemInfo getOemInfoById(@Param(value = "id")Integer id);

    List<OemUserInfo> queryOemWithUser(OemUserInfo oemUserInfo);

    OemUserInfo getOemUserInfo(@Param(value = "oemId") Integer oemId);

}
